/**
 * @description：TODO
 * @author ：xxx
 * @date ：2020/4/18 16:57
 */

package structAndComputed;

public class StrSolution {

    public static void main(String[] args) {
        String str = "java,java,hello,world";
        String newStr = str.replaceAll("java", "无解");
        System.out.println("newStr=" + newStr);
    }
}
